.mws-form
{
    clear:both;
    display:block;
}

.mws-form .mws-form-row
{
    padding:12px 24px;
}

.mws-form .mws-button-row.left
{
    text-align:left;
}

.mws-form .mws-button-row
{
    padding:16px 24px;
    border-top:1px solid #bcbcbc;
    text-align:right;
    background:url(../../images/core/mws-inset.png);
}

.mws-form .mws-form-item
{
    min-height:34px;
    height:34px;
    height:auto !important
}

.mws-form ul.mws-form-list, 
.mws-form ul.mws-form-list li
{
    margin:0;
    list-style:none;
}

.mws-form fieldset
{
    margin:0;
    border-top:1px dotted #bcbcbc;
}

.mws-form fieldset legend
{
    margin-left:24px;
    padding:0 4px;
    border:1px dotted #bcbcbc;
}

.mws-form .mws-form-inline label
{
    padding-top:7px;
}

.mws-form label
{
    padding-bottom:7px;
    cursor:pointer;
}

.mws-form label span.required
{
    color:#FF0000;
}

/* Input Styles */

.mws-form .mws-form-item select, 
.mws-form .mws-form-item textarea, 
.mws-form .mws-form-item .mws-textinput, 
.mws-form .mws-form-item .customfile, 
.mws-form .mws-form-item .ui-spinner, 
.mws-form .mws-form-item.large select, 
.mws-form .mws-form-item.large textarea, 
.mws-form .mws-form-item.large .mws-textinput, 
.mws-form .mws-form-item.large .customfile, 
.mws-form .mws-form-item.large .ui-spinner
{
    width:100%;
}

.mws-form .mws-form-item.medium select, 
.mws-form .mws-form-item.medium textarea, 
.mws-form .mws-form-item.medium .mws-textinput, 
.mws-form .mws-form-item.medium .customfile, 
.mws-form .mws-form-item.medium .ui-spinner
{
    width:75%;
}

.mws-form .mws-form-item.small select, 
.mws-form .mws-form-item.small textarea, 
.mws-form .mws-form-item.small .mws-textinput, 
.mws-form .mws-form-item.small .customfile, 
.mws-form .mws-form-item.small .ui-spinner
{
    width:55%;
}

.mws-form select, 
.mws-form textarea, 
.mws-form .mws-textinput
{
    border:1px solid #c5c5c5;
    padding:6px 7px;
    color:#323232;
    margin:0;

    background-color:#ffffff;
    outline:none;

    /* CSS 3 */

    -moz-border-radius:4px;
    -webkit-border-radius:4px;
    -o-border-radius:4px;
    -khtml-border-radius:4px;
    border-radius:4px;

    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -khtml-box-sizing: border-box;

    -moz-box-shadow:inset 0px 1px 3px rgba(128, 128, 128, 0.1);
    -o-box-shadow:inset 0px 1px 3px rgba(128, 128, 128, 0.1);	
    -webkit-box-shadow:inset 0px 1px 3px rgba(128, 128, 128, 0.1);
    -khtml-box-shadow:inset 0px 1px 3px rgba(128, 128, 128, 0.1);
    box-shadow:inset 0px 1px 3px rgba(128, 128, 128, 0.1);
}

.mws-form select:disabled, 
.mws-form textarea:disabled, 
.mws-form .mws-textinput:disabled
{
    background:#f0f0f0;
}

.mws-form select.error, 
.mws-form textarea.error, 
.mws-form .mws-textinput.error
{
    border-color:#FF0000;
    box-shadow: 0 0 4px #F9A5A5 inset;
}

input[type="file"].error{
    color: #FF0000;
}

/* Form Columns */

.mws-form-cols
{
    padding:0 24px;
}

.mws-form-item .mws-form-cols
{
    padding:0;
}

.mws-form-item .mws-form-cols .mws-form-col-1-8, 
.mws-form-item .mws-form-cols .mws-form-col-2-8, 
.mws-form-item .mws-form-cols .mws-form-col-3-8, 
.mws-form-item .mws-form-cols .mws-form-col-4-8, 
.mws-form-item .mws-form-cols .mws-form-col-5-8, 
.mws-form-item .mws-form-cols .mws-form-col-6-8, 
.mws-form-item .mws-form-cols .mws-form-col-7-8, 
.mws-form-item .mws-form-cols .mws-form-col-8-8
{
    padding-top:0;
    padding-bottom:0;
}

.mws-form-col-1-8, 
.mws-form-col-2-8, 
.mws-form-col-3-8, 
.mws-form-col-4-8, 
.mws-form-col-5-8, 
.mws-form-col-6-8, 
.mws-form-col-7-8, 
.mws-form-col-8-8
{
    float:left;
    padding:12px 6px;

    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -khtml-box-sizing: border-box;
}

.mws-form-col-1-8 label, .mws-form-col-1-8 .mws-form-item, 
.mws-form-col-2-8 label, .mws-form-col-2-8 .mws-form-item, 
.mws-form-col-3-8 label, .mws-form-col-3-8 .mws-form-item, 
.mws-form-col-4-8 label, .mws-form-col-4-8 .mws-form-item, 
.mws-form-col-5-8 label, .mws-form-col-5-8 .mws-form-item, 
.mws-form-col-6-8 label, .mws-form-col-6-8 .mws-form-item, 
.mws-form-col-7-8 label, .mws-form-col-7-8 .mws-form-item, 
.mws-form-col-8-8 label, .mws-form-col-8-8 .mws-form-item
{
    display:block !important;
    width:100% !important;
    margin:0 !important;
    float:none !important;
}

.mws-form-col-1-8 label, 
.mws-form-col-2-8 label, 
.mws-form-col-3-8 label, 
.mws-form-col-4-8 label, 
.mws-form-col-5-8 label, 
.mws-form-col-6-8 label, 
.mws-form-col-7-8 label, 
.mws-form-col-8-8 label
{
    overflow:hidden;
    white-space:nowrap;
    text-overflow:ellipsis;
}

.mws-form-cols .alpha
{
    padding-left:0;
}

.mws-form-cols .omega
{
    padding-right:0;
}

.mws-form-col-1-8
{
    width:12.5%;
}

.mws-form-col-2-8
{
    width:25%;
}

.mws-form-col-3-8
{
    width:37.5%;
}

.mws-form-col-4-8
{
    width:50%;
}

.mws-form-col-5-8
{
    width:62.5%;
}

.mws-form-col-6-8
{
    width:75%;
}

.mws-form-col-7-8
{
    width:87.5%;
}

.mws-form-col-8-8
{
    width:100%;
}


/* Placeholder Text */

.mws-form .placeholder
{
    color: #aaa;
}

/* Inline Form Elements */

.mws-form .mws-form-inline .mws-form-item
{
    margin-left:136px;
}

.mws-form .mws-form-inline label
{
    width:120px;
    display:inline-block;
    float:left;
    margin-right:16px;
}

/* Block Form Elements */

.mws-form .mws-form-block label, 
.mws-form .mws-form-block .mws-form-item
{
    display:block;
    width:100%;
    margin:0;
    float:none;
}

/* Form List */

.mws-form .mws-form-inline ul.mws-form-list
{
    float:left;
    width:68%;
    margin-top:4px;
}

.mws-form .mws-form-inline .mws-form-item ul.mws-form-list
{
    width:100%;
}

.mws-form ul.mws-form-list, 
.mws-form .mws-form-block ul.mws-form-list
{
    display:block;
    width:100%;
}

.mws-form ul.mws-form-list.inline li
{
    float:left;
    margin-right:10px;
}

.mws-form ul.mws-form-list li label
{
    width:auto;
    float:none;
    margin:0;
    padding:0;
    display:inline;
    vertical-align:middle;
}

.mws-form ul.mws-form-list li input
{
    vertical-align:middle;
}

/* Textarea */

.mws-form textarea
{
    height:10em;
    resize:none;
}

/* Form Clearfix */

.mws-form .mws-form-row:before,
.mws-form .mws-form-row:after
{
    content: '.';
    display: block;
    overflow: hidden;
    visibility: hidden;
    font-size: 0;
    line-height: 0;
    width: 0;
    height: 0;
}

.mws-form .mws-form-row:after
{
    clear: both;
}

.mws-form .mws-form-row
{
    zoom: 1;
}

/* Messages */

.mws-form-message
{	
    font-size:12px;
    cursor:pointer;
    border-bottom:1px solid #d2d2d2;
    padding:15px 8px 15px 45px;
    position:relative;
    vertical-align:middle;

    background-color:#f8f8f8;
    background-position:12px 12px;
    background-repeat:no-repeat;
}

.mws-form-message p, 
.mws-form-message ul, 
.mws-form-message ol
{
    margin:0;
}

.mws-form-message ul li, 
.mws-form-message ol li
{
    list-style-position:inside;
    list-style-type:inherit;
    margin:0;
}

.mws-form-message.error
{
    background-color:#ffcbca;
    background-image:url(../../images/core/message-error.png);
    border-color:#eb979b;
    color:#9b4449;
}

.mws-form-message.success
{
    background-color:#e1f1c0;
    background-image:url(../../images/core/message-success.png);
    border-color:#b5d56d;
    color:#62a426;
}

.mws-form-message.warning
{
    background-color:#fef0b1;
    background-image:url(../../images/core/message-warning.png);
    border-color:#ddca76;
    color:#a98b15;
}

.mws-form-message.info
{
    background-color:#bce5f7;
    background-image:url(../../images/core/message-info.png);
    border-color:#a6d3e8;
    color:#11689E;
}

.mws-form .mws-form-item.large .mws-error, 
.mws-form .mws-form-item.large label.error, 
.mws-form .mws-form-item.large span.error, 
.mws-form .mws-form-item.large div.error
{
    width:100%;
}

.mws-form .mws-form-item.medium .mws-error, 
.mws-form .mws-form-item.medium label.error, 
.mws-form .mws-form-item.medium span.error, 
.mws-form .mws-form-item.medium div.error
{
    width:75%;
}

.mws-form .mws-form-item.small .mws-error, 
.mws-form .mws-form-item.small label.error, 
.mws-form .mws-form-item.small span.error, 
.mws-form .mws-form-item.small div.error
{
    width:55%;
}

.mws-form .mws-form-item .mws-error, 
.mws-form .mws-form-item label.error, 
.mws-form .mws-form-item span.error, 
.mws-form .mws-form-item div.error
{
    width:100%;
    font-size:11px;
    display:block;
    width:auto;
    float:none;
    margin:-4px 0 0 0;
    padding:10px 8px 6px 8px;
    cursor:default;
    background:#c83139;
    color:#ffffff;

    /* CSS 3 */


    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -ms-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -khtml-box-sizing: border-box;

    -moz-border-radius:0 0 4px 4px;
    -webkit-border-radius:0 0 4px 4px;
    -o-border-radius:0 0 4px 4px;
    -khtml-border-radius:0 0 4px 4px;
    border-radius:0 0 4px 4px;
}

.mws-form .mws-form-item .mws-error.plain, 
.mws-form .mws-form-item label.error.plain, 
.mws-form .mws-form-item span.error.plain, 
.mws-form .mws-form-item div.error.plain
{
    background:none;
    color:#c83139;
    margin:0;
    display:inline-block;
    padding:10px 0;
}

/* Color Picker */

.mws-colorpicker
{
    background-image:url(../../images/core/cpicker.png);
    background-repeat:no-repeat;
    background-position:right center;

    width:150px !important;
    padding-right:32px !important;
}

/* Dual List Box */

div.mws-dualbox
{
    position:relative;
}

div.mws-dualbox .countLabel
{
    margin-top:4px;
    display:block;
}

div.mws-dualbox .mws-dualbox-col1, 
div.mws-dualbox .mws-dualbox-col2,  
div.mws-dualbox .mws-dualbox-col3
{
    width:40%;
    float:left;
}

div.mws-dualbox .mws-dualbox-col2
{
    width:20%;
    text-align:center;
    position:relative;
    margin-top:150px;
}

div.mws-dualbox .mws-dualbox-col2 button
{
    width:32px;
    height:32px;
}

div.mws-dualbox .mws-dualbox-filter
{
    margin-bottom:10px;
}

div.mws-dualbox .mws-dualbox-filter label
{
    display:block;
}

div.mws-dualbox .mws-dualbox-filter .mws-textinput
{
    float:left;
    margin-right:-32px;
    padding-right:36px;
}

div.mws-dualbox .mws-dualbox-filter button
{
    float:left;
    margin:0;
    width:32px;

    /* CSS 3 */

    -webkit-border-radius:0 3px 3px 0;
    -moz-border-radius:0 3px 3px 0;
    -o-border-radius:0 3px 3px 0;
    -khtml-border-radius:0 3px 3px 0;
    border-radius:0 3px 3px 0;
}

div.mws-dualbox button
{
    outline:none;
    font-size:11px;
    margin:2px;
    height:30px;
    text-align:center;
    line-height:16px;
    cursor:pointer;

    background-color:#e0e0e0;
    color:#666666;
    border:1px solid #ababab;
    font-family:Tahoma, Arial, Helvetica, sans-serif;

    /* CSS 3 */

    -webkit-border-radius:3px;
    -moz-border-radius:3px;
    -o-border-radius:3px;
    -khtml-border-radius:3px;
    border-radius:3px;

    -webkit-box-shadow:inset 0px 1px 0px rgba(255, 255, 255, 0.3);
    -moz-box-shadow:inset 0px 1px 0px rgba(255, 255, 255, 0.3);
    -o-box-shadow:inset 0px 1px 0px rgba(255, 255, 255, 0.3);
    -khtml-box-shadow:inset 0px 1px 0px rgba(255, 255, 255, 0.3);
    box-shadow:inset 0px 1px 0px rgba(255, 255, 255, 0.3);
}

div.mws-dualbox button:active
{
    -webkit-box-shadow:0px 1px 0px rgba(255, 255, 255, 0.2), inset 0px 0px 4px rgba(0, 0, 0, 0.1) !important;
    -moz-box-shadow:0px 1px 0px rgba(255, 255, 255, 0.2), inset 0px 0px 4px rgba(0, 0, 0, 0.1) !important;
    -o-box-shadow:0px 1px 0px rgba(255, 255, 255, 0.2), inset 0px 0px 4px rgba(0, 0, 0, 0.1) !important;
    -khtml-box-shadow:0px 1px 0px rgba(255, 255, 255, 0.2), inset 0px 0px 4px rgba(0, 0, 0, 0.1) !important;
    box-shadow:0px 1px 0px rgba(255, 255, 255, 0.2), inset 0px 0px 4px rgba(0, 0, 0, 0.1) !important;
}
